package com.day17.File;

import java.io.IOException;
import java.io.File;
public class FileDemo03 {
    public static void main(String[] args) throws IOException {
        File f1=new File("d:\\a.txt");
        System.out.println(f1.delete());
        System.out.println("-----------");
        File f2=new File("d:\\a.txt");
        System.out.println(f2.delete());
        System.out.println("-----------");
        File f3=new File("d:\\a.txt");
        File f4=new File("d:\\a.txt");
        System.out.println(f4.delete());
        System.out.println(f3.delete());
    }
}
